<!DOCTYPE html>
<html>
<head>
    <title>xUnit.js: Documentation</title>
    <link type="text/css" rel="Stylesheet" href="Style/documentation.css" />
    <script type="text/javascript">
        function load(){
            // Set Index Height
            document.getElementById("index").style.minHeight=(-2-document.getElementById("header").offsetHeight+(document.documentElement.clientHeight||document.body.clientHeight||document.body.offsetHeight))+"px";
            // Load Deep Link Or Default Page
            var hash=document.location.hash.toLowerCase().replace(/^#!/,'');
            var target=document.getElementById(hash)||document.getElementById("about");
            document.getElementById("content").src=target.href;
            // Preserve Deep Links
            for(var i=0;i<document.links.length;i++){
                if(document.links[i].id){
                    document.links[i].onclick=setHash;
                }
            }
        }
        function frameLoaded(frame){
            try{
                var index=document.getElementById("index");
                index.style.minHeight=frame.style.height=0;
                document.title=frame.contentWindow.document.title;
                var height=Math.max(index.offsetHeight,frame.contentWindow.document.body.scrollHeight);
                frame.style.height=height+"px";
                index.style.minHeight=Math.max(height,-2-document.getElementById("header").offsetHeight+(document.documentElement.clientHeight||document.body.clientHeight||document.body.offsetHeight))+"px";
            
            }catch(e){}
        }
        function setHash(){
            var target=this;
            document.location.hash="!"+target.id;
        }
    </script>
</head>
<body onload="load()">
    <h1 id="header" class="Header">xUnit.js Documentation</h1>
    <div id="canvas" class="Canvas">
        <section id="index" class="Index">
            <section>
                <h2>Engine</h2>
                <nav>
                    <a id="about" href="Guide/about-xunit.js.html" target="content">About xUnit.js</a>
                    <a id="facts-and-fixtures" href="Guide/Engine/facts-and-fixtures.html" target="content">Facts &amp; Fixtures</a>
                    <a id="assertions" href="Guide/Engine/assertions.html" target="content">Assertions</a>
                    <a id="mocks-and-stubs" href="Guide/Engine/mocks-and-stubs.html" target="content">Mocks &amp; Stubs</a>
                    <a id="async-tests" href="Guide/Engine/asynchronous-tests.html" target="content">Asynchronous Tests</a>
                    <a id="data-tests" href="Guide/Engine/data-driven-tests.html" target="content">Data-Driven Tests</a>
                    <a id="skip-tests" href="Guide/Engine/skipping-tests.html" target="content">Skipping Tests</a>
                </nav>
            </section>

            <section>
                <h2>Console Runner</h2>
                <nav>
                    <a id="quickstart" href="Guide/Console/quick-start.html" target="content">Quick Start Guide</a>
                    <a id="enginesupport" href="Guide/Console/supported-hosts.html" target="content">Supported Host Engines</a>
                    <a id="building" href="Guide/Console/building-xunit.js.html" target="content">Building xUnit.js</a>
                    <h3>Attributes</h3>
                    <a id="attribute-fact-fixture" href="Guide/Console/facts-and-fixtures.html" target="content">Facts &amp; Fixtures</a>
                    <a id="attribute-import" href="Guide/Console/importing-dependencies.html" target="content">Importing Dependencies</a>
                    <a id="attribute-async" href="Guide/Console/asynchronous-tests.html" target="content">Asynchronous Tests</a>
                    <a id="attribute-data" href="Guide/Console/data-driven-tests.html" target="content">Data-Driven Tests</a>
                    <a id="attribute-skip" href="Guide/Console/skipping-tests.html" target="content">Skipping Tests</a>
                    <a id="attribute-trait" href="Guide/Console/traits.html" target="content">Traits</a>
                    <h3>Examples</h3>
                    <a id="example-hello-xunit" href="Guide/Console/example-hello-xunit.html" target="content">Hello, xUnit.js</a>
                    <a id="example-failures-and-errors" href="Guide/Console/example-failures-and-errors.html" target="content">Failures and Errors</a>
                    <a id="example-mock" href="Guide/Console/example-mock.html" target="content">Using Mocks</a>
                    <a id="example-stub" href="Guide/Console/example-stub.html" target="content">Creating Stubs</a>
                    <a id="example-data-driven" href="Guide/Console/example-data-driven.html" target="content">Driving With Data</a>
                    <br/>
                    <a href="Guide/Console/examples.zip" target="content">Download (examples.zip)</a>
                </nav>
            </section>
    
            <section style="display:none">
                <h2>Gui Runner</h2>
                <nav>
                    <a id="gui-hosting" href="Guide/Gui/hosting.html" target="content">Hosting the Gui</a>
                    <a id="gui-loading-tests" href="Guide/Gui/loading-tests.html" target="content">Loading Test Files</a>
                    <a id="gui-dependencies" href="Guide/Gui/importing-dependencies.html" target="content">Importing Dependencies</a>
                </nav>
            </section>

            <section>
                <h2>FAQ</h2>
                <nav>
                    <a id="faq-dom" href="FAQ/mocking-the-dom.html" target="content"style="display:none;">Mocking the DOM</a>
                    <a id="faq-timeout" href="FAQ/testing-timeouts.html" target="content"style="display:none;">Testing Timeouts</a>
                    <a id="faq-xhr-callbacks" href="FAQ/xhr-callbacks.html" target="content"style="display:none;">XHR callbacks</a>
                    <a id="faq-wsh-engine" href="FAQ/the-wsh-engine.html" target="content">The WSH Engine</a>
                    <a id="faq-d8-windows" href="FAQ/d8-on-windows.html" target="content">D8 on Windows</a>
                    <a id="faq-new-host" href="FAQ/supporting-a-new-host.html" target="content" style="display:none;">Supporting a New Host</a>
                </nav>
            </section>

            <section style="display:none">
                <h2>API</h2>
                <nav>
                    <h3>xUnit.js</h3>
                    <a href="API/xUnit.js/Assert.html" target="content">Assert</a>
                    <a href="API/xUnit.js/Engine.html" target="content">Engine</a>
                    <a href="API/xUnit.js/Mocks.html" target="content">Mocks</a>
                    <a href="API/xUnit.js/Record.html" target="content">Record</a>
                    <a href="API/xUnit.js/Stubs.html" target="content">Stubs</a>
                    <nav>
                        <h4>Model</h4>
                        <a href="API/xUnit.js/Model/Result.html" target="content">Result</a>
                        <a href="API/xUnit.js/Model/AssertError.html" target="content">AssertError</a>
                        <a href="API/xUnit.js/Model/EventContext.html" target="content">EventContext</a>
                        <a href="API/xUnit.js/Model/Fact.html" target="content">Fact</a>
                        <a href="API/xUnit.js/Model/Fixture.html" target="content">Fixture</a>
                    </nav>
                </nav>
                <nav>
                    <h3>xUnit.js.Attributes</h3>
                    <a href="API/xUnit.js/Engine.html" target="content">Engine</a>
                    <nav>
                        <h4>Attributes</h4>
                        <a href="API/xUnit.js.Attributes/Attributes/FactAttribute.html" target="content">Fact</a>
                        <a href="API/xUnit.js.Attributes/Attributes/FixtureAttribute.html" target="content">Fixture</a>
                        <a href="API/xUnit.js.Attributes/Attributes/MockedImportAttribute.html" target="content">MockedImport</a>
                        <a href="API/xUnit.js.Attributes/Attributes/SkipAttribute.html" target="content">Skip</a>
                        <a href="API/xUnit.js.Attributes/Attributes/TraitAttribute.html" target="content">Trait</a>
                        <a href="API/xUnit.js.Attributes/Attributes/AsyncAttribute.html" target="content">Async</a>
                        <a href="API/xUnit.js.Attributes/Attributes/DataAttribute.html" target="content">Data</a>
                    </nav>
                    <nav>
                        <h4>Model</h4>
                        <a href="API/xUnit.js.Attributes/Model/Fixture.html" target="content">Fixture</a>
                    </nav>
                </nav>
                <nav>
                    <h3>xUnit.js.Console</h3>
                    <a href="API/xUnit.js.Console/Runner.html" target="content">Runner</a>
                    <a href="API/xUnit.js.Console/ScriptLoader.html" target="content">ScriptLoader</a>
                    <nav>
                        <h4>Output</h4>
                        <a href="API/xUnit.js.Console/Output/IOutputStrategy.html" target="content">IOutputStrategy</a>
                        <a href="API/xUnit.js.Console/Output/OutputFormatter.html" target="content">OutputFormatter</a>
                    </nav>
                    <nav>
                        <h4>Program</h4>
                        <a href="API/xUnit.js.Attributes/Model/Program.html" target="content">Program</a>
                    </nav>
                </nav>
            </section>
        </section>
        <div class="ContentContainer">
            <iframe id="content" name="content" class="ContentFrame" onload="frameLoaded(this)" xsrc="engine/about.html" frameborder="0"></iframe>
        </div>
        <div class="Clear"></div>
    </div>
</body>
</html>